#include <stdio.h>
#define N 3
#define M 4

int main()
{
	int buf[N][M]={0};
	int line;
	int column;
	int i=0,j=0;
	for(i=0;i<N;++i)
	{
		for(j=0;j<M;++j)
		{
			scanf("%d",&buf[i][j]);
		}
	}
	for(i=0;i<N;++i)
	{
		for(j=0;j<M;++j)
		{
			printf("%d ",buf[i][j]);
		}
		putchar('\n');
	}	
    printf("plz put the number:");
	scanf("%d",&line);
	scanf("%d",&column);
	printf("%d",buf[line-1][column-1]);
	putchar('\n');
	return 0;
}
